

<?php $baseurl = HttpUtil::baseUrl(); ?>    
    <script type="text/javascript" src="<?php echo $baseurl;?>/scripts/lib/jquery.js"></script>
    <script type="text/javascript" src="<?php echo $baseurl;?>/scripts/lib/jquery.alerts.js"></script>
    <script type="text/javascript" src="<?php echo $baseurl;?>/scripts/common.js"></script>
    <script type="text/javascript" src="<?php echo $baseurl;?>/scripts/inventory.js"></script>
<?php 
    $productId = $this->productId;
    $itemId = $this->itemId;
    $baseurl = HttpUtil::baseUrl();
    $url = Zend_Registry::get('temp_folder');
?>

<script type='text/javascript'> 
//<![CDATA[
    window.parent.frames['frame1'].location= "<?php echo $baseurl; ?>" + "/inventory/product/editimageinfo/pid/"+"<?php echo $productId;?>"+"/itemId/"+"<?php echo $itemId; ?>"; 
    document.location = "<?php echo $baseurl; ?>" + "/inventory/product/uploadimage/pid/"+"<?php echo $productId;?>"+"/itemId/"+"<?php echo $itemId;?>";
//]]> 
</script> 


